import Vue from 'vue'
import vuex from 'vuex'
// 引入模块对象
import modules from './modules/index.js'

Vue.use(vuex)

// 实例化仓库对象
const store = new vuex.Store({
	state: {},
	actions: {},
	mutations: {},
	getters: {},
	modules
})
export default store